package com.ruoyi.hqfinance.service.impl;

import com.github.pagehelper.PageHelper;
import com.ruoyi.common.utils.SecurityUtils;
import com.ruoyi.hqfinance.domain.HqExportInfo;
import com.ruoyi.hqfinance.domain.vo.HqExportInfoVo;
import com.ruoyi.hqfinance.mapper.HqExportInfoMapper;
import com.ruoyi.hqfinance.service.HqExportInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class HqExportInfoServiceImpl implements HqExportInfoService {
    @Autowired
    private HqExportInfoMapper hqExportInfoMapper;
    @Override
    public List<HqExportInfo> search(HqExportInfoVo vo) {
        PageHelper.startPage(vo.getPageDate());
//        vo.setCreateBy(SecurityUtils.getUserId());
        return hqExportInfoMapper.search(vo);
    }
}
